import { Injectable } from '@angular/core';
import { BaseService } from '../base.service';
import { Menu } from '../../types';

export interface RoleSecuredItem {
  id?: number;
  roleid: number;
  menuitemid: number;
  rolename?: string;
  menu?: Menu;
}

@Injectable({
  providedIn: 'root'
})
export class RoleSecuredItemService extends BaseService<RoleSecuredItem> {
  constructor() {
    super();
    this.apiPrefix = 'roleSecuredItem';
  }
}
